package com.sptpc.practice.controller.viewobject;

import java.math.BigDecimal;

public class OrderVO {

    //订单号
    private String id;

    //订单用户
    private String name;

    //订单商品
    private String title;

    //购买商品价格，若promoId非空，表示活动商品价格
    private BigDecimal itemPrice;

    //订单数量
    private Integer amount;

    //购买金额，若promoId非空，表示活动商品价格
    private BigDecimal orderPrice;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public void setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }
}
